package com.wondertek.service.sdk.iotdh.dto.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wondertek.service.sdk.iotdh.dto.Net;
import com.wondertek.service.sdk.iotdh.dto.Power;
import com.wondertek.service.sdk.iotdh.dto.SimInfos;
import com.wondertek.service.sdk.iotdh.dto.Systems;
import com.wondertek.service.sdk.iotdh.dto.res.network.MobileNetworkInfo;
import com.wondertek.service.sdk.iotdh.dto.res.status.Basic;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class GetStatusRes {
    private Basic basic;
    private Net net;
    private Power power;

    private Systems system;

    private List<MobileNetworkInfo> mobileNetworkInfos;

    @Schema(name = "startDate",description = "开始时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDate;

    @Schema(name = "endDate",description = "结束时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;
}
